The following tables list the members exposed by ObjectManager<TKey,T>.
Name | Description | |
---|---|---|
![]() | ObjectManager<TKey,T> Constructor | Initializes a new ObjectManager |
Name | Description | |
---|---|---|
![]() | Add | Allows to manually add an object instance to the ObjectManager. |
![]() | Clear | Removes all instances and keys from the manager. |
![]() | Create | Creates an object instance without adding it to the internal managed dictionary. |
![]() | Exists | Check if an instance with the given key exists. |
![]() | GetObject | Retrieves an object instance by key. If the key hasn't been encountered before, a new instance will be created. |
![]() | Remove | Allows to manually remove an object instance from the manager. A subsequent call to GetObject with the same key will create a new instance. |
![]() | TryGetObject | Retrieves an object instance by key without creating a new instance if it doesn't exist. |